package com.woniu.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.woniu.pojo.PrivateTimetable;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.woniu.vo.AppChangeQueryVo;
import com.woniu.vo.AppCoursesQueryVo;
import com.woniu.vo.PrivateTimetableQueryVo;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author xiaohuang
 * @since 2022-10-12
 */
public interface PrivateTimetableMapper extends BaseMapper<PrivateTimetable> {

    IPage findPage(Page page,@Param("timetableQueryVo") PrivateTimetableQueryVo timetableQueryVo);

    Integer repListCount(@Param("timetableQueryVo") PrivateTimetableQueryVo timetableQueryVo);

    IPage findByGymId(Page<AppCoursesQueryVo> page,@Param("gymId") String gymId);

    AppChangeQueryVo findByTimetableId(String id);
}
